<template>
  <ul class="right" style="justify-content:flex-end;">
    <li><el-button style="color:#000">投稿</el-button></li>
    <li v-for="(item, index) in rightList" :key="index">
      <a> {{ item.content }}</a>
    </li>
  </ul>
</template>

<script>
export default {
  data() {
    return {
      rightList: [
        { content: "大会员" },
        { content: "消息" },
        { content: "收藏" },
        { content: "历史" },
        { content: "创作中心" },
      ],
    };
  },
};
</script>

<style lang="less" scoped>
.right {
  display: flex;
  list-style: none;
  width: 40%;
  li {
    width: 80px;
    height: 60px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
  }
}
</style>
